﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BPMN.Domain.Entity.Unit
{
    /// <summary>
    /// 单位信息表
    /// </summary>
    [Table("Unit")]
    public class Units : Audit
    {
        /// <summary>
        /// 单位Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }
    }
}
